home *** CD-ROM | disk | FTP | other *** search
- /* mac06©1997 by HNS/DSITRI hns@computer.org
- ** reloc.h
- */
-
- #ifdef __SC__ /* Symantec C++ for PowerPC 8.0 */
- #pragma options align=mac68k
- #endif
-
- struct reloc
- {
- long r_vaddr; /* address of reference */
- long r_symndx; /* index into symbol table */
- unsigned short r_type; /* relocation type */
- };
-
- enum reloc_flags
- {
- R_LBYTE = 0,
- R_HBYTE = 1,
- R_WORD = 2,
- R_LONG = 3,
- R_BRANCH
- };
-
- #define RELOC struct reloc
- #define RELSZ sizeof(RELOC)
-
- #ifdef __SC__ /* Symantec C++ for PowerPC 8.0 */
- #pragma options align=reset
- #endif
-
- /* EOF */